added env to view vars