Commented out end of wqp preprocessing to make it runable