Here's a link to the United States flag code. I find it an interesting read as I was taught things as a youth that were wrong.
The Boy Scout Handbook, 12th edition, pg 74, tells us in the Hoisting the Flag section, "When the flag is flying freely, step back and salute as the other person ties the halyard to the flag pole."
There is no specific ceremony or sequence of orders for a flag ceremony.
What flag ceremony script does your unit use?