Fix/495 refactoring code resolves #495

On Tue, Jul 22, 2014 at 11:19:30AM -0700, jlippi wrote:
> > @@ -39,3 +43,76 @@ def cleanup():
> >      for path in cleanup_list:
> >          shutil.rmtree(path, ignore_errors=True)
> >      cleanup_list = []
> > +
> > +
> > +def _runscript(scriptname, sandbox):
> 
> sure. just hadn't done this because it was a dunderscore method. i changed its invocation to sandbox=sandbox when the runscript() method calls it.  is that good form?

yes, all looks good!