use options hash in client initializer