added to the resque initializer