Added external command prevention.