allowing use with delayed_job 4