call rail and idx plugin