updating for python 3 options