add production option to specify if we want to run the production server
re-add JOB_THREADS variable