More changes to achievements_lib.lua