document environment variables

patch by flussence++