fixed some typos, added function to complete URL from args