modified how run function is handles, better error handling
modified how run function is handles, better error handling

LyonsLab/coge,LyonsLab/coge,LyonsLab/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge