script print left time remaining