Changed the duplicate commands.