updating script, I think I should move this to a different repo