fixed some scripts

mostly done
added license
fixed some scripts
Merge pull request #3 from m4lfunction/daniel

Daniel