delete scripts, update gridScripts on scriptSave