Adding the saving of the command string,however, still not diaplying it back successfully.