Updated shortenurl plugin