[sextante] update sample script to new API (fix #8278)