Make script portable by using /usr/bin/env