Merge "Require a mode, and take config as positional argument." into main