Added scriptName for deallocation of NSSI.