Changed the way the yml file was written