Amend code slightly on output textarea