added another condition for bucket names - IP addresses cannot be used as bucket names