Turn needsnewomnilist into global variable.