For 1 &2 : if the script and the PL/SQL will be executed from the SAME session, maybe the vars could be put in a PACKAGE spec.

Regards,

Chiappa