Added true randomness and made it work with nicer urls