setup paperclip, move variables