Automatically choose between FFun \ and IFun \