loading all scripts at once at the end