Finished deployment mode. I had to make a weird little hack since dcmqridx doesn't like subprocess passing in directories containing *'s even though it works just fine on the command line.