Add logging to setup script