Fixed some minor script blergs