modified to use simple url shortening