python2 instead of python

Use a /usr/bin/env python2 shebang instead of /usr/bin/env python to ensure that the script works on systems where python3 is the default.