fix for is a full url is passed in.

Likely want to add support for someone running this on a windows os using \ later.