MainConfigration now can also search for task configuration