add custom switch for ffap hooks, lp:1117119