What is the proper order when installing new gutters and a new roof?

The recommended industry procedure is to first remove the gutter system. Ice and water shield is installed on the roof edge. The roofing material is installed and then the new gutter system installed to complete the roof tear off.