Changed $validAddress to be more permissive and suck less. The version that only accepts email from .rochester.edu domains is commented out.
Changed paths: