NP preprocesssing scripts