add Error section, adjust script comment