Make sure to escape bloody dollar signs as pamflet doesnt like them