Implemented validation script