cleanup z to s automation