updated doc and some scripts

updated doc and some scripts