generation mode ENV varible added for setting up run mode