add doc for script