Scripts for cog data