corrections in preparation for initscript