States buy direct to save on drugs