Added logging
Bucket refresh and firewall check