Raised an issue about this. I don't think we need to support config with main. I think there are better ways to do this.