r2 - Added a check for duplicate commands