Added py3 support in the simplest way possible