include local variable state in saved games