Register default directory