Replace head with awk