Setup permission plugin, fix paths.