Adding the callbacks for print status