Adding copying of previous database.