Add random seed.
Added automatization scripts.