Use /usr/bin/env to determine the correct executor