Add flag to specify debug level. Make script quiet at debug level 0