Adding YAML support
Fixing file permissions