pub fn generate_profiles(paths: &DirPaths) -> Result<(), Box<dyn Error>>