I dont see any usecase for this very special function outside the version view. I would not prefer to use it in the script options. But I can move the functionality into a separate function, so you can move it outside the view if you like.