Added --all-databases and --databases option