Switched main output of the program