Setting up for non-interactive use