Added option to select which type of data is passed to the save function when generating the captcha