Add nuke's ksm script