Domain fallback to local
Add EC2 region support
Fix JSON tags generation