Simplified parsing of the html table. Everything is done with awk. Got rid of cat and grep