changes in exit script