Added --all-databases option