run script when getting inactive list