Stuff to make it work for python in megaminer 13