fixes  the unicorn script