Wrap other console functions and support for environment specific behaviours
Updated version