Updates to OceanLink pattern writing code