Fixes and improvements to achievements wiki script