fixing build
using doto and enabling pty
adding copy multifn
copy and run work
clearing let in the mean time