added @ModuleDir and implemented it