     >
                        </div>
                    `;
                });
            }

            formHTML += `
                <button class="test-btn" onclick="testCommand()">
                    EXECUTE COMMAND
                </button>
            `;

            formContainer.innerHTML = formHTML;
        }

        // Test the selected command
        async function testCommand() {
            if (!selectedCommand) return;

            const testBtn = document.querySelector('.test-btn');
   