Added logic to create/update/export effects.