Fixed a typo in the startup script
Fixing some defination issues
Fixed some typos
Debugging is fun, fixed a lot of errors
removed some debug code