fix SCRIPTNAME value