added support for external assemblies