fixed the bug where it would fail without a directory before the jar fil...