Replacing last occurences of lumberjack