Add support for preset options

- Fix sprintf syntax bug
Merge pull request #19 from kryysler/feature/add-preset-options

Add support for preset options