get the install and update script to work for the lgm server. add mycurl and simplejson for the case the json and curl php functions are not available (and it's the case on the lgm server)