modifying validation script