Perry Township trustees, police agree to new contract