Our experiments show that the highest pattern resolution is achieved with the lowest pressure and dwell times. In terms of controlling the extent of functionalization, as measured by the ID/IG values, we found that the electron dose was the single most important factor. Since the dose depends on both dwell time, beam current and pitch, and since we wish to keep dwell times short, regulating the pitch is therefore the best way to increase or decrease the electron dose.