Added append log option