added paperclip on rails side