Edit add function to remove add command