bug solved when initializing external scripts