Added conditional GA code.