use SETUP_OUTPUT for setup_selfupdate