Updated environment and regression eq