Pass options into configuration function