Hey there,
occassionally, people still seem to stumble across this script because it seems it shows up in some search results. Please be aware that I made this script ten years ago, and by now, there is probably a better way to achieve the same result.
Have a nice day!
This sadly won't work if multiple schemas are needed to be included, due to dependencies. For that you have to create your own conf file with includes, and adapt a part of this script to rewrite it.