Allowed getting main directory directly