Added possibility to run jobs with custom created session jobs from a script