generalized the already general load_music to load_resources