handle gist url's better