Update the logic to use static assets