updates to resque and paperclip