Allow an optional `frontend` option

Allows an optional `frontend` option to be passed and applied when not using an optfile.
Merge pull request #2 from BYK/patch-2

Allow an optional `frontend` option