updated to use yaml configs