bit of work on repl_fun_altScript.sml