Ensure global var is declared; use asset ID.