Added unrecognized options detection