setup will be called in __init__, command_line_config, possibly in run