Added script to generate entries in config/instances.ini
Removed deprecated setrestricted script