Add memory command