Added some code so that all the interactive interactions are pretty printed