adding changes to run on s3