added server variable to global for easy configuration