Added verbose flag to remove debug output