utils to run jobs on SGE