What happens when a script is put under the "Toolbar"/"Menu" script folder?

Scripts are cached while DEVONthink is running to speed up their execution, meaning that after a restart the properties are the original ones again.