Gagne has an immediate impact for the Flyers