require yaml, fix root path