adds documentation and scripts for generation