Added logging to setup.sh, fixed EOL's