Rewrote Toggle Console code