add backwards compat options object support