Added initial delayed job logic