Iterate script is now able to loop without user input.
Removed the subprocess .wait() calls and replaced all of them with
.communicate(). Using stderr/stdout=PIPE can apparently hang the program
when too much is sent to the PIPE to cause buffering. I encountered this
and it hung my program as promised.