Fixed problem with scripts loading without settings