runInBashAs fixes