Boosting franchise growth with just-in-time training