Swapped LR Settings code to use global variable