Added passing Latte enviroment variable to control