tidy up yaml and legion files