removed stackexchange suggestion of initializer file called paperclip and now seems to work