added Ugly option for printing, default false, it means Pretty print true...