using /usr/bin/env python instead of fixed path to avoid errors when using virtualenv