New test script, some bug fixes
New test script, some bug fixes, added files
Added stuff.  Some scriptssss. ShOuld probalyb make some into functions..