Add max_tasks & max_threads options to director job