Added service/environment validation and fix for missing asset.