new version of superbash using stdin/stdout - Gary