added code for running Gaussian jobs