So, I am not entirely sure this fixed the problem, but I am optomistic, so I'm going to go ahead and say i fixed it. I redirected output to /dev/null, and I sent my 'yes' to prompts in to STDERR, instaed of STDIN. I don;t know why thye would have done it like that..but..it seems to be the issue. I'll be posting again if that fails to be the answer, haha