using path.resolve() to settle this load path madness