production environment s3 configuration
several bugs