Useful mksample scripts