make shell callback handler reusable
remove time trimming for now