the parentheses here create a subshell I believe, I'm not sure what effect that would have here, but fortunately I don't think you need it (?) - I think you can just double-quote all of this stuff as one string with vars in it.