Init ads in app_core_legacy
Shim some scripts