switch static_assets flag