Fix S3 upload for development environmenta