game restart and reset envelopes