handle both cases of kerl installations