The image shows the script done in Grasshopper3d in the backend of the configurator.