Added tweaks to random seeding