Fix for previous commit

srun --export variable check wrong
Add checks for srun and sbatch --export options