Some time related scripts