Added logging and liveness-check scripts