Updated to take input from url or generate random