Get rid of global_opts struct as suggested by Dave -- too many