corrected file meta header info and added some scripts.

It would be a good idea to merge the upstream with the master branch - Hannah :)