prepareoptions has become the more advanced iooptions