Only a brief explanation of how to use environments is present in the docs. This needs to be expanded