Code download functions / check_job