create a script file