Minor update to append_string