Define controller function in options.php