Added support for "print" and share count