This script has the function of shortening the url requested by the user, creating a link to replace the default url.