Illinois Gov. Pat Quinn issued an amendatory veto on a bill that would allow, and regulate, the carrying of concealed weapons in public places.

The state has until July 9 to pass a bill that legalizes the right to carry a firearm, according to a federal court ruling, leaving the legislature with a week to either accept Quinn’s changes and rewrite the bill, or override the veto.

“My foremost duty as Governor is to keep the people of Illinois safe,” Quinn said in a statement. “This is a flawed bill with serious safety problems that must be addressed.”