IO stream and command handler updated