Yes, the shell is what you use. You make the brain name `brain' (full path name though) and that is a shell file which can use @MLton ... and such.