Whole lot of testing

Added files which were missing
Fixed EOF bugs
the script just runs now, no error lines! :D