County signs agreements with fire departments