Added code to dynamically figure out if assets are in the main asset list or in the extension