Added ability to programmatically choose settings upon instantiation