Added remote deployment and fixed log scanning