added in have message consumption, sandbox mode, and file writing