use /usr/bin/env so it will work on os x