moved insta config to context