Load yaml config properly