Support for custom modules available in different directories