fix unicorn script