Use script as input file