put globals back into args and turn debugging default off for now