Thanks Fabian - I eventualy got there just before seeing your message by comparing...
Edit: after the 'grep' in the above there was a search expression for the HTML title...
Can't enable / disable using wget