modify email validation script