Return values, stderr and quiet

Added return status codes on errors, output to stderr on errors and an option for quiet execution. 
I run the script with the quiet option in my cron.hourly dir.