Added wrapper function for setting app options