Script for generating documentation