Add support python 2.x and 3.x