Migrating to the new scripts-based ontology design