executable to extract last time-step