Fixed yaml file and now read from it