Remove path from SCRIPTNAME value