Fix assets 'redownloading' every setup and cleaned up code to be more readable.