Use fatal function instead of error + exit