Modified scripts loading process