Good point, I've switched this to use awk