Various corrections and addition of the xmlrpc script