Added Earth flattening to run_green