update examples to show passing URL as an argument