script calculate the time
folder