Move config into input format