Add argument for setting stats URL