MADS: Reduce variable scope in scene group 5, rename one variable