CreateRunOptions function

Creation of the RunOptions object