added generic writer config