Add preconfig option to yaml