updated scripts loading