changed /usr/bin/python to /usr/bin/env python for better compatibility with python virtual environments