removed comments around pdf creation.