-updated qa script