added wrapper_options argument to def input
Merge pull request #443 from dronov/master

added wrapper_options argument to def input