add support for custom metadata
Merge pull request #1 from percolate/custom_metadata

add support for custom metadata