Minor changes to stat generation