Add yaml support

I have small problem with yaml. Not work without ${pth}, do you know why?