Added some console functionality