read commands from env