Added log shortener. Subtle mods