changed script load order