Add missing header fields
Change dir so we can find the resources

Workaround until the path to the resources is configurable
Merge pull request #1 from agx/master

Minor changes