Add script for preprocessing