Portability fix: use head -n 1 iso head -1