Fixed package
Fixed some bad logic in the forrest building portion of the script