Update logic to remove scripts