Support --engine option

See #313