sudo/bash changed again to pipe output to bash, fixing other problems