shift main into conf