messaging to and from content and back ground script