separation script refactored, config file for job