Adding the databse back to the main.