Fixes run command with outFile