Fix installation process for new database