Reading STDOUT works now reading all the data. Changed permissions of all files so it installs with executable permissions.
Add some error handling to spawn run functions.