added script to generate input file