\documentclass[12pt,a4paper]{report}
\usepackage{styles/fct-ualg-thesis}
\usepackage{csquotes}
\usepackage[backend=biber,style=authoryear,maxnames=99,minnames=99,giveninits=true,uniquename=init]{biblatex}
\addbibresource{bibliography/references.bib}
\input{metadata}
\begin{document}
\selectlanguage{english}
\renewcommand{\ualgpagename}{Page}
\pagenumbering{roman}
\input{frontmatter/cover}
\input{frontmatter/title-page}
\input{frontmatter/declaration}
% Optional sections (uncomment if needed)
%\input{frontmatter/dedication}
%\input{frontmatter/acknowledgements}
\input{frontmatter/abstract-pt}
\input{frontmatter/abstract-en}
% Required for English theses (separate from the 300-word Resumo)
\input{frontmatter/abstract-pt-long}
\renewcommand{\contentsname}{TABLE OF CONTENTS}
\renewcommand{\listfigurename}{LIST OF FIGURES}
\renewcommand{\listtablename}{LIST OF TABLES}
\renewcommand{\bibname}{REFERENCES}
\ualgtableofcontents
\ifualghasfigures
\ualglistoffigures
\fi
\ifualghastables
\ualglistoftables
\fi
\input{frontmatter/abbreviations}
% Optional errata (uncomment if needed)
%\input{frontmatter/errata}
\clearpage
\pagenumbering{arabic}
\chapter{Introduction}
\input{chapters/01-introduction}
\chapter{Literature Review}
\input{chapters/02-literature}
\chapter{Methodology}
\input{chapters/03-methodology}
\chapter{Results}
\input{chapters/04-results}
\chapter{Discussion}
\input{chapters/05-discussion}
\chapter{Conclusions}
\input{chapters/06-conclusions}
\clearpage
\begin{spacing}{1}
\setlength{\parskip}{0pt}
\defbibheading{ualgbib}{\chapter*{REFERENCES}\addcontentsline{toc}{chapter}{REFERENCES}}
\printbibliography[heading=ualgbib]
\end{spacing}
\ualgappendixsetup
\input{backmatter/appendices}
\ualgannexsetup
\input{backmatter/annexes}
\end{document}