add debug statements to setup script