Added boolean localCall --> when this value is true. Call for server
invocations are local (not through SSH)