Tweaked timepicker script