Changes to the print label function