Added some more subscripts.
-- its high time this was rewritten in awk or perl!!!