New sustainable production method may advance plastics, pharmaceuticals