The scripts are really awesome! They keep building on every new Kstars version! Thank you very much.
I found that it would be great to set the ROOTDIR in a custom location, so I introduced a small improvement on the scripts. Unfortunately, I didn't find the way to submit a Pull Request, so I am including the patch code here for other users: