moved validation script