Remove unnecessary lines
Split asset configurations
Clean up
Change variable scope