faster generation of items

random item generation command for 'all' option now uses the array to generate the items instead of 10 calls, we use a for-loop. Smart code.