Integrate includeMain option