fixed all the paths and made the stats work