Added css and created pdf file at tmp