added a couple of preprocessing scripts