added the possibility to add a basepath instead of using path.cwd all the time