\chapter{Conclusion \& Discussion}\label{chp:conclusion}
\input{conclusion}
-\appendix%
-\label{chp:appendix}
+\appendix\label{chp:appendix}
\chapter{Communication protocol}\label{app:communication-protocol}
\input{appendix-protocol}
\addcontentsline{toc}{chapter}{Lists of \ldots}
\begingroup
\let\clearpage\relax
+\let\cleardoublepage\relax
\listoffigures%
\listoftables%
\lstlistoflistings%
\listofalgorithms%
\endgroup
+\printindex
+
\end{document}