setup script for random number generation sim and animation