added skipping to combine_databases