Made the random seed actually work and pushed those functions to Python