add preview script
doc setup