Added wait for transformation before publish