Changed replace_database to true