temporarily remove unplugged activities from scripts