may i suggest you to add :
hubCommandJSON = new JSONStorableString("hubCommand", "");
hubCommandJSON.setCallbackFunction = ProcessHubCommand;
RegisterString(hubCommandJSON);
in the init(), so we can call poses by triggers :) i've been in troubles when reseting scenes
Edit : not sure about it...