A decades-old agreement between Custer County and Eastern Montana Community Mental Health Center is influencing how the county allocates alcohol tax revenues and helping preserve behavioral health services at the county detention center as uncertainty surrounds a state-funded inmate treatment…