Made streaming input more compatible..i think.  Also added necessary headers to get files to be executable.