Write early preprocessing stuff