Minor updates to preprocessing scripts