Hi Andrey,
I’ve rewritten the script to remove the previous limitations and make it cross-platform (including removing the dependency on md5). I’ve tested it on OS X, Linux and cygwin.
It’s available here: https://github.com/andrewoma/kotlin-script
Cheers,
Andrew