\documentclass[12pt, twoside, margin=1in, bindingoffset=10mm]{thesis}
\sloppy %Does not let any word run out inside the (set) page margin.
\setcounter{secnumdepth}{5}
% seting level of numbering (default for "report" is 3). With ''-1'' you have non number also for chapters.
\setcounter{tocdepth}{5}
% if you want all the levels in your table of contents
\input{preamble}
\begin{document}
\pagenumbering{roman}
\afterpage{\blankpage}
\input{title}
\input{Frontmatter/Certificate}
\afterpage{\blankpage}
\input{Frontmatter/Declaration}
\input{Frontmatter/Copyright}
\input{Frontmatter/Dedication}
\afterpage{\blankpage}
\input{Frontmatter/Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}
\input{Frontmatter/Abstract}
\addcontentsline{toc}{chapter}{Abstract}
\renewcommand{\contentsname}{Table of Contents}
\clearpage
\tableofcontents
\addcontentsline{toc}{chapter}{Table of Contents}
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures % Write out the List of Figures
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables % Write out the List of Tables
\printglosses[style=block, title={Abbreviations}] %Changes the title name % same as [style=leipzigalttree]
\newpage
\pagenumbering{arabic}
\input{Chapters/Chapter1}
\input{Chapters/Chapter2}
\input{Chapters/Chapter3}
\input{Chapters/Chapter4}
\input{Chapters/Chapter5}
\appendix
\addcontentsline{toc}{chapter}{Appendices} %or APPENDICES
\addtocontents{toc}{\protect\setcounter{tocdepth}{1}}
\input{Appendices/Appendix1}
\input{Appendices/Appendix2}
\nocite{*} %It prints all of your entries, including the non-cited ones into your bibliography.
\printbibliography[heading=bibintoc]
\end{document}