add script for extracting call graph