scripts save on exit and load on entry