SCRIPT_PATH fix