Added support for Resque