Any optional columns must come between the trial and bgr columns in your ,csv file. Move the column named !answer in your inputfile.csv file to there and then try running it.