accept arguments on setup

useful if you want to setup a new instance programatically
Merge pull request #1185 from gusnips/patch-1

accept arguments on setup