The good, the bad and the technology: Endogeneity in environmental production models · Study