add advanced buffering and add theme options plugin