Selbot cleanup

Shell script fixups + template formatting + relative dates.