renamed search_preprocess to preprocess_args, and it now returns the new args as a dictionary rather than doing the search itself. Also fixed bug with searching for gen_eds