write relannis.version file
add formatting
make sure mapSCorpus only runs once for the root corpus