Trying a change for writing yml file directly.