Received a call that water was leaking through the ceiling, upon arrival I found the ceiling by the archway from the living room into the kitchen was sagging and there was also water running down the outside of the house. Set up a ladder and looked outside and found that the emergency drain does not extend into the gutter, it is just draining into the soffit. We will need to extend that to properly hang over the gutter as per code. Also found that the drain was clogged and water was flowing into the emergency pan.