moved input_preprocessing to a tox file