Added scripts to load and unload media