City, schools make safety agreements