Add script to check centroid computed value
Save computed centroid attribute