Hi, Recently we've implemented latest function for transforms which should allow you to replace pivot with latest and get rid of the scripts in your transform. Check out the overview here and the API example here Please note that this functionality is currently beta but it will change soon.