Custom levels in dir and time decreasing in loops.