added script to generate documentation