Fix pipe issues. Add input argument to run function.
Found out why program not returning all of STDOUT. It needs to keep reading. This version shows reading twice returns the rest of STDOUT.
Reading STDOUT works now reading all the data. Changed permissions of all files so it installs with executable permissions.