Added printing functionality for pull