change the order of script in init