modified stitch_plink.sh for pbs