\documentclass[a4paper]{article}
\input{pagesettings}
% If using on writelatex, you also need to set the document title in the document settings (the cog button) because
% they use the \title contents not the actual document title
\def\papertitle{Change me --- in the project settings too }
\def\attribution{\texttt{cah@stpaulsschool.org.uk} \\ SPS Computing}
\usepackage[colorinlistoftodos]{todonotes}
\newcommand{\cut}[1]{}
\newcommand{\ans}[1]{\\ \hspace*{\fill}\framebox {#1} }
%\renewcommand{\ans}[1]{}
%Uncomment the line above to remove answers.
\title{\papertitle}
\date{\today}
\begin{document}
\pagestyle{fancy}
\fancyfoot{}
\fancyhead{}
\fancyfoot[R]{\thepage}
\fancyfoot[C]{\papertitle}
\fancyhead[L]{\attribution}
\fancyhead[R]{\raisebox{-0.8cm}{ \includegraphics[height=2cm]{SPSLogo.jpg}}}
%Uncomment the line above to include the school logo top right.
\maketitle
\end{document}