Add workdirectory for pbs.