amending image paths for properly loading precompiled assets in production