Fix reading problem with reading environmental variable
UI changes