adding function to make sure asset names are lowercase