Yes, I had to find a fixed point to insert the new component into.
So if you run the script twice the file will look like:
Slider
2nd Component
1st Component