Modified a lot of things to fix asset precompilation