script: remove old target.env file