`is` instead of `==`, please.

Also, this could be more short: `option = (if ... then ... else ...)` and `options.push option`