Added support for multidirectory configurations as a new script