reorganized figure generating scripts to separate directory