Fix wrong activ file, institute file checks in qsub script. Redirect errors to log