the civil servants were beginning to draw up plans for some form of technology transfer agreement , which would allow barclay to be involved in the gulfs own development work , while keeping him firmly based in the uk .