Added script preprocessor