irl: add importance sampling option