writescript file work
Merge branch 'writeScriptToTextfile' into develop