Added urlParameter function