change loading order of resources depending on site and cms config