Updated RESTAPI script.  Updated Background job