Update template generation so ALPS profile link works