Mksample scripts