RunBashAppend() function