Fix bug in acquiring dfScriptName