added option page functionality