Add up and reducePdf functions for shell.