fix SCRIPTNAME value
Merge branch 'mgax-patch-1'