add rudimentary option to customise resultwrap_start and resultwrap_end with data from the actual results