Add existence check before scripts are loaded.