added verification settings and DNS, code cleanup