Added arguments parsing to jobs functions