allow options to pass through

Fixed typo which prevented any custom options from being used (such as a custom template).