making script file