simplify somewhat, result types are not checked yet.
Merge branch 'master' of https://github.com/Dandandan/ScriptOkay