Updated documentation and environment loading