Some preps for job thread