Added script for preprocessing the input