Fixing bug on extensionless script running.