change to console mode