Linking to the new database