Added option to set the default time.