Substitute error.New for fmt.Errorf
Fix addCommand errof foramtting
Fix error formating