Fixes imports and file locations.