updated static files to work with s3 and locally