updating test env and packaging via script