Auto detects wheter on server or on pc