Python and R packages for generating the files required for SSM