clean gems and reconfig s3