Emp was using a Hilti nail gun attached to a 3 ft extension to attach a red warning ribbon to a rib. He let the gun extension handle slide through his hand to rest it on the ground and it hit the top of his foot instead and the gun fired on contact with his boot causing a fracture to top of Lt foot. Went to ER, placed on restrictions.