Added enviromental variables.
Documentation.