Added fancyhdr and lastpage libraries