update documentation
typo
simplify doc script