bugfix: add functions to metadata.lua template
bugfix: include source geometry in metadata file
bump version number