Tweak to get it working on nbviewer