Use correct path for resources.