change initscript mode