added support for CUSTOM_MACHINE_SETUP_SCRIPT_URL and CUSTOM_MACHINE_SETUP_SCRIPT_VARS
aled's comments addressed