Fixed sheep not following scripts

- script was not being set due to terribly implemented if-statement