Fixed linting and ENOENT errors