add script to generate cscope database