added NSLOTS to make the script usable from either interactive or from qsub