you can now render a hand salute when the flag passes or is being raised or lowered. Being in uniform is not required. Ditto for active-duty troops.
Public Law No. 110-181 changes Section 9 of title 4, United States Code, by striking "all persons present" and all that follows through the end of the section and inserting the following: "all persons present in uniform should render the military salute. Members of the Armed Forces and veterans who are present but not in uniform may render the military salute. All other persons present should face the flag and stand at attention with their right hand over the heart, or if applicable, remove their headdress with their right hand and hold it at the left shoulder, the hand being over the heart. Citizens of other countries present should stand at attention. All such conduct toward the flag in a moving column should be rendered at the moment the flag passes."