pass configuration to builder, fixing #110
Merge pull request #111 from bevacqua/master

Pass configuration through