added write permission script to simpleExecutionScript