small changes to the add external assets functionality so that it works a little bit cleaner
tweaked add external assets functions so that they work properly
adding some debugging lines, I think
improvements to adding external assets