Put scripts into files