Adding new content type checking thing that's apparently required with the new version of paperclip.
Needed to put ENV lookup in ruby interpreter template bracket things