Fix directory references