adding in changes for resque queue check