Only prepare database after downloading it