read and write scripts modified