set asset precompile true and moved extraction to controller