did some refactoring of the pre_proc python scripts and added some features for create_graphviz_plot.py