Fixed up script and everything is good now