fixed an oops where we had been expecting bash to convey our functions