Added in check to change static root/url based on if the computer is local or a server