changed statement for append metadata to boolean