changes app folder refs to public
scores duplicated words correctly