added env to constructors
fixed commands