now detecting/storing profile string sooner when using a shared context