header reduction
added a new option: autoupdate; would speed things up a
lot...