add check-sizes-to-file and run-get-db-sizes