Refactored template directory submission to a more generic asset directory sumission