Fix bug where options were not passed.