Added relogging tool