change yaml stuff to cfg