Added list running instances and terminate unmanaged script