adding variable saving script