Template overhaul

Run a dos2unix, pass in the localhost variable