added random seed support to trivia script