It turns out that there was an error with one of the procs in my tcl file. After fixing this error, everything below it worked just fine.
Thanks again