changed script inclusion order