save and remove initial environment