Added new folder and random selection algorithm