updated NOHTML script and example