fix shim code to change child bash process to the current working directory