Updated prototype to add version and publishing