Schema bug fixes
Adding quick schema validation script.