add inputfile to a script