Added new insert statements to the code to allow for new databases.