added env and argv attributes