Converted to middleman plugin structure