added delayed jobs and made changes to accomodate'