Remove script with dependency