added in changes for resque setup