support for subdirs, multiple hosts, and multiple targets was