Added initialize_on_precompile after assets enable