Updated script to export file and run simpleone file