support [hash] and [chunkhash]

fixes #9
0.2.5