Path fixes for main and exported files