Repaired the non-working gj integration and profile
Reinstated a change that somehow got clobbered?