add a sample script for nKSR and refresh doc