Made the whole shizzle python2.7 compatible