make cli-test.sh --global work again