Modified so that multiple zroots may be specified.