Fixed S3 deploy bug