update and add recording function to game launch scripts