Update invalidation script to actually invalidate