Make output target name match url param

this PR replaces #135