Right now with the scripts above i'm getting "null" on the client side, and the only thing logging in Logs is this

"gs.log("********Script Include - XML Output: " +xml);"