reformatted code
relative paths in cli argument weren't parsed to correct url - fixes #2