add excute_scripts in misc.c