add factions subdepend, fix permissions