Ah, I see. You are correct that it works, but it defines x in the namespace where the server was started. There may be some ways to tweak this to do the right thing. Thanks for the help!
x