changes for redirecting the print button