added s3 and mysql