updated to get containers and hosts