Code used to make Google Colab work correctly
Thanks to https://github.com/kalomaze/externalcolabcode