doc generation to script
added link to docs