Added debug_assets() function