use some options in the resource directive
0.3.6