Adding button to the expand/collapse menu

You find the button with your script, and you get its properties, size, children, colour and such, you can look at the script of the module below for an example