detect local/remote server (from Daniel)
switch to force local method to load data