preparation for gem publishing