What do you mean it will always be in the commands window? If you add your commands in the ScriptInfo.xml file, they will show up in the helper window. If you want to make the commands dynamic (change tooltip, remove commands, etc) then you'll want to handle the OnScriptGetCommands event.
EDIT: I see what you mean now, sorry
[offtopic]What editor is that you're using for XML?[/offtopic]