update env building scripts