Change variable name from PATH to SCRIPT_DIR

PATH is used by the system