add os env to environments of pre_start