make jq a variable and test for it on the remote
remove reference to elnode/gnudoc