Allow session data to be stored before the shutdown scripts execute
Merge pull request #1 from beck24/session-write

Allow session data to be stored before the shutdown scripts execute