Clear scripts in memory when reloading.