small changes to the shell helper script