potentially break non-root installs and we need a better solution, probably by doing it differently when no UI is involved.