Codes and scripts for the Evolution of Modularity Manuscript