Updated to use local server variable

Working