Environmental control of ethylene biosynthesis