added functionality to extraoptions page