Enabling LocalS3Repo

Enabling the use of S3 for image uploads with ENV variables instead of
hard coded.