use correct directory for the input file in the pbs template