Added script and updated doc