database script set up to import frequency dictionary