add document for scripts