added possibility to pass parameters to main job script (is it time to turn on argparse?)