Configurable Button for clothes

My wife is sewing and making also things like bags or shoes.
She needed buttons of many sizes and because I am lazy to do it all time again I made this script to create her buttons of any size and some other parameters.
One of my coats got finally also his lost button back :)