Fix userDir and indentation