rText').html(vm_array[0]["error"]);
                    $('#errorText').css("display", "inline");
                    $('#main_output').css("display", "none");
                } else {
                    $('#errorText').css("display", "none");
                    $('#main_output').css("display", "block")
                    // Loop through the results and update the HTML with the new values
                    for (var i=0; i<vm_array.length; i++) {
                        $('#vm' + i + '_name').html(vm_ar