fix for delayed_job script