Added logging for the auto.sh script