Added script localization to production mode