finished shell version jb with tinyurls