%\documentclass[10pt,letterpaper, final]{report}
\documentclass[10pt,letterpaper, twoside, final]{report}
%\documentclass[10pt,letterpaper, final]{book}

\usepackage[subpreambles=true]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{times}
\usepackage{amssymb}

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}
%\urlstyle={rm} %Not working as expected

\usepackage{makeidx}
\usepackage{graphicx}
\graphicspath{{./}{../}}

\usepackage{float}
\usepackage{soul}

\usepackage{ifthen}
\usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}

\usepackage{fancyhdr}
\pagestyle{fancy}
  \fancyhf{}
    \renewcommand{\headrulewidth}{0pt}

\usepackage[explicit,compact]{titlesec}
\titleformat{\chapter}[block] % Change to "X. Chapter name" format
    {\bfseries\huge}{\filright\huge\thechapter.}{1ex}{\huge\filright #1}
\usepackage{verbatim}
\usepackage{comment}
\usepackage{scrtime}
\usepackage{blindtext}	% Junk text for testing
\usepackage{parskip}	% Skip a line between paragraphs
\usepackage{xparse}		% Used by the \currentchapter[] code

%% only usable when documentclass is set to "article"
%\title{WEPS User Documentation}
%\author{Larry E. Wagner}
%\date{July 2022}

\renewcommand{\chaptermark}[1]{\markboth{#1}{}}

\makeatletter
\renewcommand*{\verbatim@font}{}
\makeatother

\begin{document}

% Not sure why it wants to be in the "begin{document}" section when "twoside" is set
\makeatletter % Determine if twosided printing is specified
\if@twoside%
	\fancyhead[LE,RO]{WEPS}
	\fancyhead[CE,CO]{\bfseries\leftmark}
	\fancyhead[RE,LO]{\thepage}\
	
	\fancyfoot[LE,RO]{WEPS User Manual}
	\fancyfoot[CE,CO]{}
	\fancyfoot[RE,LO]{Printed \today}
    % Redefine the plain page style footer so that the first chapter page matches the other footers
    \fancypagestyle{plain}{
      \fancyhf{}
       \fancyfoot[LE,RO]{WEPS User Manual}
       \fancyfoot[CE,CO]{}
       \fancyfoot[RE,LO]{Printed \today}
    }
\else%
	\lhead{WEPS}
	\chead{\bfseries\leftmark}
	\rhead{\thepage}

	\lfoot{WEPS User Manual}
	\cfoot{}
	\rfoot{Printed \today}
    % Redefine the plain page style footer so that the first chapter page matches the other footers
    \fancypagestyle{plain}{
      \fancyhf{}
       \fancyfoot[L]{WEPS User Manual}
       \fancyfoot[C]{}
       \fancyfoot[R]{Printed \today}
    }
\fi%
\makeatother

	%% Would like to use roman numbers here
	%\input{Title_pg_Preface_Ack/WEPS_User_Guide_Title_Page}	% include "Title" page here
	%\input{Title_pg_Preface_Ack/Preface}					% include "Preface" page here
	%\input{Title_pg_Preface_Ack/Acknowledgements}			% include "Acknowledgements" page here
	
	%% Need to restart arabic numbering here
	\input{Introduction} 						% include "Introduction" pages here
		\section{WEPS Installation Steps}
		\blindtext[5]	
	%\chapter{WEPS Interface Reference}
	\blindtext[10]
		\section{Section 1}
		\blindtext[5]	

\end{document}