changed PROFILES_DIR to PROFILES_PATH