added v8.switch env options. work in progress