added function to load valid_domains table
made table compatible with loading process