add options to extensions