Changing the preproc scripts for accomodating the stay1, stay2 and noise
phases.