Rewrite (un)load_script for module selection; load all core scripts