adding fix for script name in argv