updating the wrangling scripts for server run