added function to run executable with out var args