pub fn find_script( name: &str, config: &Config, ) -> Result<Option<PathBuf>, Error>
Search for a script file in the configured paths and return its path if found.