added copyright and bodyAppend options