added country stats, updated function scope in modules
added os stats