Implement the add command