archive_setup depends on query_setup
Automate password prompts with fexpect