Behavioral responses to environmental and policy changes in agricultural systems