Forgot to mention, expanding foam can be really useful, but I suggest the urethane like Great Stuff, rather than latex like Daptex. Urethane is messy and difficult, but latex will hold water and can [romote rusting where it comes into contact with steel.