Add "." to profilePath. (This seems to have become necessary in order