use IO::Prompt to collect password so it can be passed in via a STDIN pipe