rawdata-procedures revision and rawdata-autoseg rewriting