Added visibility control on printed messages