Change hashbang lines to use /usr/bin/env python2

Change hashbang lines to use /usr/bin/env python2 to make it compatible on systems with Python 3 by default