Add a chapter about environment variables
Update documentation