Added random directory naming. Changed the repeat interval.