Updated RandomNames to enclose single quotes.