Random quote insertion logic