Hook up random system generator with UI code