[Argha] minor tweaks to get past bash tty restrictions