Avoid too long script block | CAST Appmarq