Adds support for multiple Python installations

Replaces `#! /usr/bin/env python` by `#! /usr/bin/env python2` to run on configurations with multiple Python installations.