Mass renaming to remove the use of global variables. I need to rip out select_ws and save_ws.