add script for generating documentaion automatically