added function to create sbatch files for uppmax