added env flag
1.0.1