changed directory construction