Fixed random number generator and distutils script