SMS2: Added generateURL