Fix paths with pages + plugin
expose method for setting cwd