Fix #33: remove BOM
Fix #32: add @grant to metadata block