automatic schema files creation and fixing