using paperclip gem instead of plugin