#19488 scripts save on exit and load on entry