add support for multi-module configurations