Add config yaml
Fix directory insertion