automatically set up support for using python2 instead of python3