installs Erlang for hooks & fixed log reporting