Completed the environment and added varibale evaluation