Updated this to use python 3 so that we can use it.