Add logs and correction of setup script