Replace hashbang with /usr/bin/env python3 for better portability