Fixed bug with assets having the same name getting overwritten