Calling proper machine endpoint